package org.common.plugin;

import java.io.File;
import java.util.UUID;

/**
 *
 * @author gus
 */
public final class PluginInfo
{
    private String name;
    private UUID guid;
    private File filePath;
    private String className;
    private boolean module = true;

    public boolean isModule()
    {
        return module;
    }

    public File getFilePath()
    {
        return filePath;
    }

    public void setFilePath(File filePath)
    {
        this.filePath = filePath;
    }

    public void setModule(boolean isModelu)
    {
        this.module = isModelu;
    }

    public String getClassName()
    {
        return className;
    }

    public void setClassName(String className)
    {
        this.className = className;
    }

    public UUID getGuid()
    {
        return guid;
    }

    public void setGuid(UUID guid)
    {
        this.guid = guid;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    @Override
    public String toString()
    {
        StringBuilder buidler = new StringBuilder();
        buidler.append(String.format("[ %s ] =  ", "name", name));
        buidler.append(String.format("[ %s ] =  ", "className", className));
        return buidler.toString();
    }
}
